package 设计模式.创建型模式.工厂方法模式;

/**
 * @author MT
 * @date 2019-11-13 16:57
 */
public class ConcreteFactory1 implements AbstractFactory{
    @Override
    public Product newProduct() {
        System.out.println("具体工厂1生成-->具体产品1...");
        return new ConcreteProduct1();
    }
}
